import request from '@/utils/request'

// 查询认证管理列表
export function listLibraryident(query) {
  return request({
    url: '/librarysystem/libraryident/list',
    method: 'get',
    params: query
  })
}

// 查询认证管理详细
export function getLibraryident(identId) {
  return request({
    url: '/librarysystem/libraryident/' + identId,
    method: 'get'
  })
}

// 新增认证管理
export function addLibraryident(data) {
  return request({
    url: '/librarysystem/libraryident',
    method: 'post',
    data: data
  })
}

// 修改认证管理
export function updateLibraryident(data) {
  return request({
    url: '/librarysystem/libraryident',
    method: 'put',
    data: data
  })
}

// 修改认证管理
export function updateLibraryident2(data) {
  return request({
    url: '/librarysystem/libraryident/edit2',
    method: 'put',
    data: data
  })
}

// 删除认证管理
export function delLibraryident(identId) {
  return request({
    url: '/librarysystem/libraryident/' + identId,
    method: 'delete'
  })
}
